package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.SysWarehouse;

/**
 * 仓库Service接口
 * 
 * @author ruoyi
 * @date 2025-06-29
 */
public interface ISysWarehouseService 
{
    /**
     * 查询仓库
     * 
     * @param warehouseId 仓库主键
     * @return 仓库
     */
    public SysWarehouse selectSysWarehouseByWarehouseId(Long warehouseId);

    /**
     * 查询仓库列表
     * 
     * @param sysWarehouse 仓库
     * @return 仓库集合
     */
    public List<SysWarehouse> selectSysWarehouseList(SysWarehouse sysWarehouse);

    /**
     * 新增仓库
     * 
     * @param sysWarehouse 仓库
     * @return 结果
     */
    public int insertSysWarehouse(SysWarehouse sysWarehouse);

    /**
     * 修改仓库
     * 
     * @param sysWarehouse 仓库
     * @return 结果
     */
    public int updateSysWarehouse(SysWarehouse sysWarehouse);

    /**
     * 批量删除仓库
     * 
     * @param warehouseIds 需要删除的仓库主键集合
     * @return 结果
     */
    public int deleteSysWarehouseByWarehouseIds(Long[] warehouseIds);

    /**
     * 删除仓库信息
     * 
     * @param warehouseId 仓库主键
     * @return 结果
     */
    public int deleteSysWarehouseByWarehouseId(Long warehouseId);
}
